﻿<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false" CodeBehind="OperationsPublish.aspx.cs" Inherits="EkejiWeb.Web.Admin.Operations.OperationsPublish" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>发布</title>
    <script src="../../Ehlip/UEditor/editor_config.js" type="text/javascript"></script>

    <script src="../../Ehlip/UEditor/editor_all_min.js" type="text/javascript"></script>

    <script type="text/javascript" src="../../Ehlib/My97DatePicker/WdatePicker.js"></script>

    <link href="../../Ehlip/UEditor/themes/default/ueditor.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        标题：<asp:TextBox ID="tbTitle" runat="server"></asp:TextBox><br />
        内容：<asp:TextBox ID="tbMessage" runat="server" Width="700px" Rows="10" TextMode="MultiLine"></asp:TextBox><br />
        发布人：<asp:TextBox ID="tbUserName" runat="server" Enabled="false" Text=""></asp:TextBox><br />
        发布时间：<asp:TextBox ID="tbTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"></asp:TextBox><br />
        上传文件：<asp:FileUpload ID="fupPicture" runat="server" />
        <br />
        <asp:Button ID="btnPub" runat="server" Text="发布" OnClick="btnPub_Click" />
        
            <script type="text/javascript">
            var editor = new baidu.editor.ui.Editor({//实例化编辑器

                UEDITOR_HOME_URL: '../../Ehlip/ueditor/',
                minFrameHeight: 270,
                toolbars: [['InsertImage', 'FontFamily', 'FontSize', 'Bold', 'Italic', 'Underline', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'InsertOrderedList', 'InsertUnorderedList', 'Emoticon', 'PlaceName', 'Link']],
                iframeCssUrl: '../../Ehlip/ueditor/themes/default/iframe.css'
            });
            editor.render("tbMessage");
        </script>
            
    </div>
    </form>
</body>
</html>
